The arithmetic of shapes

نویسنده

  • R Krishnamurti
چکیده

Algorithms for the Boolean operations and relations on shapes and labelled shapes are presented. This paper has two parts. The first part accomplishes two objectives. First, an efficient and uniform representation for shapes is presented, which is based on a linear order on the maximal lines of a shape. Second, simple and efficient algorithms for the Boolean operations on shapes (shape union, difference, and intersection) and the Boolean relations on shapes (subshape and shape equality) are presented. The second part deals with the computational aspects involved in performing the Boolean operations and relations on shapes and labelled shapes. An algorithm for the efficient decomposition of the Boolean operations and relations is presented. Last, the data structures required to implement the shape algorithms are described. The relevant definitions and notations upon which this paper is based are given in Stiny (1980). Each shape is assumed to be initially described by a set of maximal lines; each labelled shape is given by a shape and an associated set of labelled points. Rational shapes A restriction is introduced to limit the class of shapes dealt with in this paper. This restriction—albeit a practical one—is necessitated by the fact that algorithms are defined with respect to some form of computing machine. In a random access machine with limited memory a real number is represented by a finite approximation which is determined by the word size of memory. This makes for inexact arithmetic. Moreover, it is usual for shapes to be drawn on some kind of graphics device such as a visual display unit or a digital plotter. On these devices only a limited number of points can be addressed, and the location of each point is given by an integral multiple or a pair of integral multiples of a unit of measurement. Since correct algorithms require exact arithmetic it is convenient to consider just those shapes which can be so described. Therefore, attention will be restricted to shapes which are, in the mathematical sense, rational. The following definition makes the notion of a 'rational shape' precise. Definition: A point p is rational if and only if each of its coordinates x^p),..., xd(p), d > 2, can be expressed as the ratio of two integers. A labelled point p:A is rational if and only if p is rational. A line /, I = {pi, Pi), is rational if and only if its end points, p1 and p2, are rational. A shape s is rational if and only if each of its maximal lines is rational. A labelled shape o, o = (s, p)9 is rational if and only if s is rational and every labelled point in point set P is rational. The ratio of two integers, rn/rd, may be expressed as the ordered pair, <rn, r&), which, in turn, may be described by its unique primitive form. A pair of integers, (rn, r&) is primitive if and only if the following conditions are satisfied: (a) rn and rd are integers,

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Note on the First Geometric-Arithmetic Index of Hexagonal Systems and Phenylenes

The first geometric-arithmetic index was introduced in the chemical theory as the summation of 2 du dv /(du  dv ) overall edges of the graph, where du stand for the degree of the vertex u. In this paper we give the expressions for computing the first geometric-arithmetic index of hexagonal systems and phenylenes and present new method for describing hexagonal system by corresponding a simple g...

متن کامل

Arithmetic Teichmuller Theory

By Grothedieck's Anabelian conjectures, Galois representations landing in outer automorphism group of the algebraic fundamental group which are associated to hyperbolic smooth curves defined over number fields encode all arithmetic information of these curves. The goal of this paper is to develope and arithmetic teichmuller theory, by which we mean, introducing arithmetic objects summarizing th...

متن کامل

Arithmetic Aggregation Operators for Interval-valued Intuitionistic Linguistic Variables and Application to Multi-attribute Group Decision Making

The intuitionistic linguistic set (ILS) is an extension of linguisitc variable. To overcome the drawback of using single real number to represent membership degree and non-membership degree for ILS, the concept of interval-valued intuitionistic linguistic set (IVILS) is introduced through representing the membership degree and non-membership degree with intervals for ILS in this paper. The oper...

متن کامل

ARITHMETIC-BASED FUZZY CONTROL

Fuzzy control is one of the most important parts of fuzzy theory for which several approaches exist. Mamdani uses $alpha$-cuts and builds the union of the membership functions which is called the aggregated consequence function. The resulting function is the starting point of the defuzzification process. In this article, we define a more natural way to calculate the aggregated consequence funct...

متن کامل

On Second Geometric-Arithmetic Index of Graphs

The concept of geometric-arithmetic indices (GA) was put forward in chemical graph theory very recently. In spite of this, several works have already appeared dealing with these indices. In this paper we present lower and upper bounds on the second geometric-arithmetic index (GA2) and characterize the extremal graphs. Moreover, we establish Nordhaus-Gaddum-type results for GA2.

متن کامل

On Third Geometric-Arithmetic Index of Graphs

Continuing the work K. C. Das, I. Gutman, B. Furtula, On second geometric-arithmetic index of graphs, Iran. J. Math Chem., 1(2) (2010) 17-28, in this paper we present lower and upper bounds on the third geometric-arithmetic index GA3 and characterize the extremal graphs. Moreover, we give Nordhaus-Gaddum-type result for GA3.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008